<%@page import="java.util.Map"%>
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage=""%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>网络在线考试――后台管理</title>
		<link href="<%=request.getContextPath() %>/CSS/style.css" rel="stylesheet"></link>
	</head>
	<body>
	
		<%@ include file="/manage/top.jsp"%>
		
		<table width="960" border="0" align="center" cellspacing="0" cellpadding="0">
			<tr>
				<td width="176" align="center" valign="top" bgcolor="#FFFFFF">
				
					<%@ include file="/manage/left.jsp"%>
					
				</td>
				<td align="right" valign="top" bgcolor="#FFFFFF">
					<table width="99%" border="0" cellpadding="0" cellspacing="0" align="center">
						<tr>
							<td height="30" bgcolor="#EEEEEE" class="tableBorder_thin">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="78%" class="word_grey" align="left">
											&nbsp;当前位置：<span class="word_darkGrey">管理员信息管理 &gt; &gt;修改管理员&gt;&gt;</span>
										</td>
										<td align="right">
											<img src="<%=request.getContextPath() %>/Images/m_ico1.gif" width="5" height="9">&nbsp;
											当前管理员：wyh&nbsp;
										</td>
									</tr>
								</table></td>
						</tr>
						<tr>
							<td align="center" valign="top">
								<table width="100%"  border="0" cellspacing="0" cellpadding="0">
									<tr>
								   		<td width="84%">&nbsp;      </td>
									</tr>
								</table> 
								
								<form name="form1" method="post" action="<%=request.getContextPath() %>/manage/manager.do?method=edit" onsubmit="return checkForm(form1)" enctype="multipart/form-data">
								   <table border="2px" bordercolor="green"  align="center">
								   	 <%
	          							Map map=(Map)request.getAttribute("map"); 
	      							 %>
							         <tr>
							           <td>管理员名字：</td>
							           <td>
							           		<input type="hidden" name="manager_id" value="<%=map.get("manager_id")%>"/>
							           		<input type="text"  name="manager_name"  value="<%=map.get("manager_name")%>"/>
							           		
							           </td>
							           <td rowspan="3"><img id="preview"   style="width:130px;height:130px"  src="<%=request.getContextPath()%>/manage/manager.do?method=download&manager_imgpath=<%=map.get("manager_imgpath")%>"  /></td>
							         </tr>
							         
							          <tr>
							           <td>管理员密码：</td>
							           <td><input type="text"  name="manager_pass"  value="<%=map.get("manager_pass")%>"/></td>
							         </tr>
							         
							         <tr>
							         <td>管理员头像：</td>
							          <td> <span id="spid"><input type="file"   name="image" value="<%=map.get("manager_imgpath")%>" onchange="imgPreview(this)" accept="image/*"   id="imgFile"/></span></td>
							         </tr>
							         <tr>
							           <td colspan="3"><input  style="float: right" type="submit" value="提交"/></td>
							         </tr>
							        </table>
								</form>
							</td>
						</tr>
					</table></td>
			</tr>
		</table>
		<%@ include file="/manage/copyright.jsp"%>
	</body>
</html>
